package com.zsgeek.entity;

import java.sql.Date;

/**
 * 信用卡信用实体类
 * @author malu
 *
 */
public class Creditcard {
	
	/**
	 * 自增长id
	 */
	private int id;
	/**
	 * 信用卡号
	 */
	private String cardNumber;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 信用卡户名
	 */
	private String ownerName;
	/**
	 * 信用卡有效期
	 */
	private Date validDate;
	/**
	 * CVV码
	 */
	private String securityCode;
	/**
	 * 信用卡绑定的手机号码
	 */
	private String mobileNumber;
	/**
	 * 预付信用卡当前的余额，余额计算币种为RMB
	 */
	private Float balance;
	/**
	 * 关联的买家ID
	 */
	private int buyerId;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCardNumber() {
		return cardNumber;
	}
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getOwnerName() {
		return ownerName;
	}
	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}
	public Date getValidDate() {
		return validDate;
	}
	public void setValidDate(Date validDate) {
		this.validDate = validDate;
	}
	public String getSecurityCode() {
		return securityCode;
	}
	public void setSecurityCode(String securityCode) {
		this.securityCode = securityCode;
	}
	public String getMobileNumber() {
		return mobileNumber;
	}
	public void setMobileNumber(String mobileNumber) {
		this.mobileNumber = mobileNumber;
	}
	public Float getBalance() {
		return balance;
	}
	public void setBalance(Float balance) {
		this.balance = balance;
	}
	public int getBuyerId() {
		return buyerId;
	}
	public void setBuyerId(int buyerId) {
		this.buyerId = buyerId;
	}
	
	
	
}
